import request from './request'

// 查询测试单表列表
export const listChatConfig = (params) => {
	return request.get('/business/chatConfig/list',params)
}

// 发送信息
export const sendMessageContent = (params) => {
	return request.post('/business/contract/analysis',params)
} 

// 发送信息
export const listAiTask = (params) => {
	return request.get('/business/aiTask/list',params)
}

// 获取详情
export const getAiTask = (params) => {
	return request.get(`/business/aiTask/${params}`)
}

// 获取思维导图
export const getMindMap = (params) => {
	return request.get(`/business/meeting/generateMindMap?id=${params}`)
}

// 删除任务
export const delAiTask = (params) => {
  return request.delete(`/business/aiTask/${params}`)
}

// 重命名任务
export const updateAiTask = (params) => {
  return request.put('/business/aiTask',params)
}
